package com.ctbu.tools;

public enum StatusEnum {
    SUCCESS(200,"操作成功"),
    UNAUTHORIZED(401,"用户认证失败"),
    FORBIDDEN(403,"权限不足"),
    INTERNAL_SERVER_ERROR(500,"服务器代码异常")
    ;

    public int code;
    public String message;

    StatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
